#pragma once
#include <boost/pool/object_pool.hpp>
class WndItem;
typedef boost::shared_ptr<WndItem> WndItemPtr;
class WndItem
{
public:
	WndItem(void);
	~WndItem(void);
	static boost::object_pool<WndItem> sPool;

private:
	static void Destory(WndItem* p)
	{
		sPool.destroy(p);
	}
public:
	static WndItemPtr New()
	{
		return WndItemPtr(sPool.construct(), Destory);
	}
public:
	HWND mWnd;
	bool mIsTopMost;
	HICON mIcon;
	bool mIsFlashing;
	std::wstring mWndName;
	std::wstring mPrcoessName;
};

//typedef WndItem* WndItemPtr;